package com.campusbackend.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 赛事管理请求对象
 *
 * @author yezi
 * @since 2025-07-29
 */
@Data
@Schema(name = "EventManagementRequest", description = "赛事管理请求")
public class EventManagementRequest {

    @Schema(description = "赛事标题", required = true)
    @NotBlank(message = "赛事标题不能为空")
    private String title;

    @Schema(description = "赛事内容（富文本HTML）", required = true)
    @NotBlank(message = "赛事内容不能为空")
    private String content;

    @Schema(description = "赛事摘要")
    private String summary;

    @Schema(description = "状态：1-已发布，0-草稿", required = true)
    @NotNull(message = "状态不能为空")
    private Integer status;
}
